home *** CD-ROM | disk | FTP | other *** search
- Short: Pure CLI command to search files
- Author: dck@hol.gr (D. Keletsekis)
- Uploader: dck@hol.gr (D. Keletsekis)
- Version: 1.1
- Type: util/cli
- Requires: WB 2.0+
-
-
- FSearch is a pure CLI command for Listing & Searching files.
-
- Searching of files is fast and the template provided allows
- you to accurately describe the types of files you are looking
- for, thereby drastically reducing the scope of the search.
-
- Fsearch has the following template :
-
- ROOT/A/M Where to start searching from.
- May be multiple root sources - with wild-cards
- ex : FSearch ram: dh0:mydir#? all
- List all files in all dirs in ram: and all
- files in all dirs matching dh0:mydir#?
-
- This option must be given.
- All others are optional.
-
- PAT/K (string) File pattern to match
- Only files meeting this pattern will be searched
- ex : FSearch ram: pat=#?.info all
- List all info files in ram: or it's sub-dirs
-
- TXT/K (string) Text to search for.
- By default the search is case-insensitive.
- If this option is not specified FSearch will act
- like "list".
- ex : FSearch ram: txt="my name" all
-
- FROM/K (date) Only search files FROM this date and up.
- Dates must be written as dd-mm-yy.
- ex : FSearch ram: from=07-08-96
-
- TO/K (date) Only search files UP to this date
-
- MIN/N/K (number) Only search files more than MIN Kb.
- ex : FSearch ram: min=100 (look for files >= 100k)
-
- MAX/N/K (number) Only search files less than MAX Kb.
-
- HEADER/K (string) Only search files which have this header.
- The Header specification may contain wild cards.
- The first 100 bytes of the file will be loaded
- and checked against this Header.
- ex : FSearch ram: header=FORM????ILBM#? all
- will list all iff pictures in ram:
-
- ALL/S Recursively scan sub-directories
-
- CS=CASESENSITIVE/S
- Make search case-sensitive
-
- V=VERBOSE/S Print Line number & text of lines found.
- The default is to just print the file name on the
- first occurance of the TXT you're looking for.
- With this option all the matches and their
- context will be displayed. If the line length is
- over 80 chars it will be clipped.
-
- NOBIN/S Do not check binary files. Up to 100 bytes of the
- file will be loaded and file will be skipped if
- this header contains any non-ascii characters.
-
- HL=HIGHLIGHT/S Highlight the search results
-
- INFO/S Print file size/date/time next to it's name
- No file paths are printed if this option is on.
-
- NOPATH/S Print only the file name - not the full path.
-
-
- A great looking, resizable, multitasking GUI is also
- provided (preview included). The gui is independent of the
- command itself, so you can use it (or not) as needed.
- To run the GUI you need the Gui4Cli program which you can
- download from Aminet at dev/gui/Gui4Cli.lha
-
- This program is FreeWare, but remains the Copyright of D.Keletsekis.
- No guarantees as to its performance or actions is made or implied.
- Use it at your own risk.
-
- D. Keletsekis
- November 1997
-
-
- ============================= Archive contents =============================
-
- Original Packed Ratio Date Time Name
- -------- ------- ----- --------- -------- -------------
- 628 271 56.8% 03-Oct-97 21:55:46 FSearch.info
- 3364 2241 33.3% 03-Oct-97 21:48:06 +FSearch
- 13859 4345 68.6% 03-Oct-97 21:48:58 +FSearch.gc
- 388 165 57.4% 03-Oct-97 21:55:44 +FSearch.gc.info
- 3275 1467 55.2% 03-Oct-97 21:52:26 +FSearch.readme
- 533 298 44.0% 03-Oct-97 21:48:58 +Fsearch.types
- 14152 4624 67.3% 03-Oct-97 21:53:14 +FSGrab.001
- 12354 3115 74.7% 03-Oct-97 21:53:14 +FSGrab.004
- 266 171 35.7% 03-Oct-97 21:53:14 +FSGrab.readme
- -------- ------- ----- --------- --------
- 48819 16697 65.7% 11-Nov-97 22:44:14 9 files
-